home *** CD-ROM | disk | FTP | other *** search
Text File | 1999-11-30 | 1.5 KB | 52 lines | [TEXT/MPS ] |
- #
- # File: BuildSampleDriver
- #
- # Contains: Sample code for a PCI device driver that supports PCI power off.
- #
- # You may incorporate this sample code into your applications without
- # restriction, though the sample code has been provided "AS IS" and the
- # responsibility for its operation is 100% yours. However, what you are
- # not permitted to do is to redistribute the source as "DSC Sample Code"
- # after having made changes. If you're going to re-distribute the source,
- # we require that you make it clear in the source that the code was
- # descended from Apple Sample Code, but that you've made changes.
- #
- # Version: 1.0
- #
- # Copyright: © 1999 by Apple Computer, Inc., all rights reserved.
- #
- # File Ownership:
- #
- # DRI: xxx put dri here xxx
- #
- # Other Contact: xxx put other contact here xxx
- #
- # Technology: xxx put technology here xxx
- #
- # Writers:
- #
- # (BB) Bob Bradley
- #
- # Change History (most recent first):
- #
- # <0+> 7/11/99 BB First checked in.
- #
-
- Set -e CIncludes "::Interfaces&Libraries:Interfaces:"
- Set -e ObjDir ":BuildResults:Obj:"
- Set -e LibDir ":BuildResults:Lib:"
- Set -e MapDir ":BuildResults:Map:"
- Set -e SampleDriverDir ":"
- Set -e StubLibraries "::Interfaces&Libraries:Libraries:"
-
- Set StartTime `Date -n`
- Echo "Start Time: `Date -t -c {StartTime}`"
-
- BuildProgram SampleDriver
-
- Set StopTime `Date -n`
- Set TotalTime `Evaluate {StopTime}-{StartTime}`
- Echo "Stop Time: `Date -t -c {StopTime}`"
- Echo "Total Time: "`Date -t -c {TotalTime} | StreamEdit -e "/≈/ ∂
- Replace /•12/ ∂" 00∂"; Replace /[AP]M/ ∂"∂" "`
-